package com.yqyd.hy.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
public class AddVoteDto {

    @NotBlank(message = "用户不能为空")
    private String uuid;

    @NotNull(message = "投票作品不能为空")
    private Long voteId;

}
